from dao.TodoDao import TodoDao


class TodoController:
    def __init__(self):
        self.todoDao = TodoDao()

    def addContentoToDb(self, date, value):
        self.todoDao.insertTodo(date, value, 0)